from time import sleep

from appium.webdriver.common.mobileby import MobileBy

from ui_framework_demo.common.basepage import BasePage
from ui_framework_demo.page.personal_info_settings_package import PersonalInfoSettingsPackage


class PersonalInfoPackage(BasePage):
    def get_personal_info_settings_package(self):
        """进入个人信息设置页面"""
        self.driver.find_element(MobileBy.ID,'com.tencent.wework:id/iga').click()
        return PersonalInfoSettingsPackage(self.driver)